
function sina_login()
{
	window.open("/open/sina/sina_login.php","SinaLogin","width=600,height=450,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
}
function tencent_login()
{
	window.open("/open/tencent/tencent_login.php","TencentLogin","width=580,height=480,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
}
function sohu_login()
{
	window.open("/open/sohu/sohu_login.php","SohuLogin","width=1000,height=700,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
}
function netease_login()
{
	window.open("/open/netease/netease_login.php","SinaLogin","width=820,height=780,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
}

$(function(){
	$(".tabNav ul").idTabs("tab1");
	
	$('#login').click(function() {
		var txt = '登陆开放平台<br/><br/>'
			+ '<input type="image" onclick="sina_login()" src="/open/img/sina_login_32x32.png" />'
			+ '<input type="image" onclick="tencent_login()" src="/open/img/tencent_login_32x32.png" />'
			+ '<input type="image" onclick="sohu_login()" src="/open/img/sohu_login_32x32.png" />'
			+ '<input type="image" onclick="netease_login()" src="/open/img/netease_login_32x32.png" />';
		
		$.prompt(txt,{
			buttons: {  }
		});
	});
});